package com.qianzhou.product.service.impl;

import com.qianzhou.common.mapper.ProductMapper;
import com.qianzhou.common.pojo.Products;
import com.qianzhou.product.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: qian.zhou
 * @Description:
 * @Date Created in 2021-09-12-9:42
 * @Modified By:
 */
@Service
public class ProductServiceImpl implements ProductService {
    @Autowired
    private ProductMapper productMapper;
    @Override
    public Products findProductsById(Integer productId) {
        return productMapper.selectById(productId);
    }
}
